package cn.com.qiter.staservice.client;

import cn.com.qiter.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-cms")
public interface CmsClient {
    //查询 视频通用作业 数量
    @GetMapping("/educms/dictionary/getByName/{name}")
    public Result getDictByName(@PathVariable("name") String name);


    @GetMapping("/educms/dictionary/get/{id}")
    public Result get(@PathVariable("id") String id);
}
